package com.example.smartagriculture.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import java.io.Serial;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;

/**
 * tree_msg 实体类
 * @author 张芸博
 * @since 2024-12-10
 */
@Data
@AllArgsConstructor
@TableName("tree_msg")
public class TreeMsg implements Serializable {
    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @Schema(name = "id", description = "id")
    private Integer id;

    /**
     * 果园id
     */
    @Schema(name = "orchard_id", description = "果园id")
    private Integer orchardId;

    /**
     * 果树类型
     */
    @Schema(name = "tree_type", description = "果树类型")
    private String treeType;

    /**
     * 生长阶段
     */
    @Schema(name = "growth_stage", description = "生长阶段")
    private String growthStage;

    /**
     * 预计产量
     */
    @Schema(name = "production_volumes", description = "预计产量")
    private String productionVolumes;

    /**
     * 种植日期
     */
    @Schema(name = "planting_date", description = "种植日期")
    private LocalDateTime plantingDate;

    /**
     * 逻辑删除
     */
    @Schema(name = "is_delete", description = "逻辑删除")
    private Integer isDelete;


}
